package training.controller;

/**
 * Representa uma entrada de dado coletado
 * 
 * @author Fernanda
 * 
 */
public class Sample {

	private double[] input, expected;
	private int inputIndex, expectedIndex;

	public Sample(int inputSize, int outputSize) {
		input = new double[inputSize];
		expected = new double[outputSize];
	}

	public void addInput(double inputValue) {
		input[inputIndex] = inputValue;
		inputIndex++;
	}

	public void addExpected(double expectedValue) {
		expected[expectedIndex] = expectedValue;
		expectedIndex++;
	}

	public double[] getInputValues() {
		return input;
	}

	public double[] getExpectedValues() {
		return expected;
	}

}
